package com.csx.base.design.structure.decorator;

/**
 * @author cuisongxu
 * @date 2022/9/19 12:12
 */
public abstract class Decorator implements Showable{

    protected Showable showable;

    public Decorator(Showable showable) {
        this.showable = showable;
    }

    @Override
    public void show() {
        showable.show();
    }
}
